/**
 * 
 * @param {any} x 
 * @param {any} y 
 */
function swap1(x,y){
    x = x -y 
    y = x + y
    x = y -x 
    return [x,y]
  }
  
  const res1 =  swap1(1,2 )
  console.log(res1);